// import getUserInfo from "../template/login/login.js";
import { formatTime3 } from "./util";
function init(name) {
  this.data.loadingShow = false;
  let token = wx.getStorageSync('token')
  let userInfo = wx.getStorageSync('userInfo')
  if (token || userInfo) {
    this.data.token = token;
    this.data.userInfo = userInfo;
  }
};
module.exports = {
  init
};
